﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LogWriter
{
    public class LogInfo
    {
        public string LogFullName
        {
            get;
            set;
        }

        public string Content
        {
            get;
            set;
        }

        public LogInfo()
        {
            LogFullName = "";
            Content = "";
        }

        public LogInfo(string fullName, string content)
        {
            LogFullName = fullName;         
            Content = content;
        }

        public bool IsEmpty()
        {
            return string.IsNullOrEmpty(LogFullName) || string.IsNullOrEmpty(Content);
        }

        public void SetNull()
        {
            LogFullName = "";
            Content = "";
        }
    }  
}
